# -*- coding: utf-8 -*-

from core.serializers import CustomModelSerializer
from .models import OnlineDocument


class OnlineDocumentSerializer(CustomModelSerializer):
    """
    在线文档-序列化器
    """

    class Meta:
        model = OnlineDocument
        fields = "__all__"
        read_only_fields = ["id"]
